<h1>Listing friends</h1>

<table>
  <tr>
  </tr>

<% for friend in @friends %>
  <tr>
    <td><%= link_to 'Show', friend %></td>
    <td><%= link_to 'Edit', edit_friend_path(friend) %></td>
    <td><%= link_to 'Destroy', friend, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New friend', new_friend_path %>
